package com.doge.service.admin.storage;

import com.doge.bean.base.BaseData;
import com.doge.bean.base.BaseParam;
import com.doge.bean.pojo.storage.Storage;
import org.springframework.web.multipart.MultipartFile;

/**
 * @program: doge
 * @description:
 * @author: Keyu Li
 * @create: 2021-11-29 20:55
 **/

public interface StorageService {
    Storage create(MultipartFile file) throws Exception;

    BaseData list(BaseParam param, String key, String name);

    void update(Storage storage);

    void delete(Storage storage) throws Exception;
}
